package com.huadao.cart_ccs.modle;

import com.huadao.cart_ccs.base.BaseSerialPortModel;
import com.huadao.cart_ccs.common.ByteUtils;
import com.huadao.cart_ccs.data.bo.CommandWord;
import com.huadao.cart_ccs.data.bo.LiquidLevelBO;
import com.huadao.cart_ccs.data.bo.Protocol;

public class LiquidLevelModel extends BaseSerialPortModel {
    private String TAG="液位仪";

    public void readLiquidLevel(){
//        byte[] params = ByteUtils.generateParams(CommandWord.read, new byte[]{LiquidLevelBO.ModularType_LiquidLevel,LiquidLevelBO.liquidLevel_NO1,LiquidLevelBO.read}, null);
        Protocol params = ByteUtils.generateProtocol(CommandWord.read, new byte[]{LiquidLevelBO.ModularType_LiquidLevel,LiquidLevelBO.liquidLevel_NO1,LiquidLevelBO.read}, null);
        serialPortRequest(params);
    }
}
